package itheima.zuoye.test5;

public class Student extends  Person {
    private double score;


    public Student() {
    }

    public Student(double score) {
        this.score = score;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }
    public void kaoshi(){
        System.out.println(getName()+"正在参加考试，当前分数："+score);
    }
}
